export default {
    install: async function (app) {
        // 向全局注册方法
        const RegistTask = app.GetPluginEvent('RegistTask');
        RegistTask('loan', (actType) => {
            if (['2'].includes(actType + '')) {
                return true
            } else {
                return false
            }
        });
        app.AddRouter([{
            path: '/loanSignUp',
            component: () => import('./SignUp.vue'),
            meta: {
                title: '小微贷 - 活动报名',
                whiteList: true,
            }
        }])
    }
}